package com.rs.game.player.dialogues;

public class DTClaimRewards extends Dialogue {

	@Override
	public void start() {
		sendDialogue("You have a Dominion Factor of " + player.getDominionTower().getDominionFactor() + ".");

	}

	@Override
	public void run(int interfaceId, int componentId) {
		switch (stage) {
		case -1:
			sendOptionsDialogue("If you claim your rewards, your progress will be reset.", "Claim Rewards", "Cancel");
			stage = 0;
			break;
		case 0:
			switch (componentId) {
			case OPTION_1:
				player.getDominionTower().openRewardsChest();
				stage = 1;
				break;
			}
			break;
		case 1:
			end();
			break;
		}

	}

	@Override
	public void finish() {
		// TODO Auto-generated method stub

	}

}
